import type { RouteRecordRaw } from 'vue-router'

const router: RouteRecordRaw[] = [
  {
    path: '/message',
    component: () => import('../views/messageapi/HomeView.vue'),
  },
  {
    path: '/message/:mid',
    component: () => import('../views/messageapi/DetailView.vue'),
  },
  {
    path: '/message/uid/:uid',
    component: () => import('../views/messageapi/MyMessView.vue'),
  },
  {
    path: '/message/pinglun/:uid',
    component: () => import('../views/messageapi/PinglunView.vue'),
  },
]

export { router as messageRouter }
